<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div> -->
    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Reason_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-reason_id" data-rule="required" data-source="reason/index" class="form-control selectpage" name="row[reason_id]" type="text" value="{$row.reason_id|htmlentities}">
        </div>
    </div> -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-content" class="form-control" name="row[content]" type="text" value="{$row.content|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('举报原因')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-reason" class="form-control" type="text" value="{$row.reason|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('处理状态')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-status" class="form-control selectpicker" name="row[status]">
               
                    <option value="0" {if condition="$row['status'] eq '0'"} selected {/if}>未处理</option>
                    <option value="1" {if condition="$row['status'] eq '1'"} selected {/if}>已处理</option>
               
            </select>

        </div>
    </div>
    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Circle_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-circle_id" data-rule="required" data-source="circle/index" class="form-control selectpage" name="row[circle_id]" type="text" value="{$row.circle_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Circle_cate_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-circle_cate_name" data-rule="required" class="form-control" name="row[circle_cate_name]" type="text" value="{$row.circle_cate_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Circle_vehicle_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-circle_vehicle_name" data-rule="required" class="form-control" name="row[circle_vehicle_name]" type="text" value="{$row.circle_vehicle_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Circle_title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-circle_title" data-rule="required" class="form-control" name="row[circle_title]" type="text" value="{$row.circle_title|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Circle_content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-circle_content" class="form-control editor" rows="5" name="row[circle_content]" cols="50">{$row.circle_content|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Circle_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-circle_image" class="form-control" size="50" name="row[circle_image]" type="text" value="{$row.circle_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-circle_image" class="btn btn-danger faupload" data-input-id="c-circle_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-circle_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-circle_image" class="btn btn-primary fachoose" data-input-id="c-circle_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-circle_image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-circle_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Circle_content_images')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-circle_content_images" class="form-control" size="50" name="row[circle_content_images]" type="textarea" value="{$row.circle_content_images|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-circle_content_images" class="btn btn-danger faupload" data-input-id="c-circle_content_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-circle_content_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-circle_content_images" class="btn btn-primary fachoose" data-input-id="c-circle_content_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-circle_content_images"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-circle_content_images"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Circle_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-circle_price" class="form-control" name="row[circle_price]" type="text" value="{$row.circle_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Circle_base_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-circle_base_price" class="form-control" name="row[circle_base_price]" type="text" value="{$row.circle_base_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Add_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-add_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[add_time]" type="text" value="{:$row.add_time?datetime($row.add_time):''}">
        </div>
    </div> -->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
